package com.vpen.iot.server.handler;

import com.vpen.iot.server.message.Packet;
import com.vpen.iot.server.message.User;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import lombok.extern.slf4j.Slf4j;

/**
 * @author: Vpen
 * date: 2023/1/18 14:06
 */
@Slf4j
public class IotServerHandler extends SimpleChannelInboundHandler<Packet.PacketBase> {
    @Override
    protected void channelRead0(ChannelHandlerContext ctx, Packet.PacketBase msg) throws Exception {
        log.debug("{}",msg);
    }
}
